/*
The MIT License

Copyright (c) 2010 Yuen Ho Wong

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/

/* BEWARE: You must explicitly specify the default UA styles and provide a
prefix to avoid conflicts. */

.safarious-error-message {
    color: orange !important;
}

#safarious-add-bookmark-popup * {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;

    color: black;

    cursor: auto;

    font: normal normal normal 9pt/normal arial !important;
    vertical-align: baseline !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    white-space: normal !important;
    text-align: justify !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    text-transform: none !important;
    text-shadow: none !important;
    direction: ltr !important;
    unicode-bidi: normal !important;
    list-style: none outside none !important;
}

div#safarious-add-bookmark-popup {
    /* border: 7px solid rgba(0, 0, 0, 0.5) !important; */
    border: 10px solid rgba(0, 72, 255, 0.5) !important;
    -webkit-box-shadow: 5px 10px 30px #838383 !important;
    -webkit-border-radius: 10px !important;
    position: fixed !important;
    z-index: 65535 !important;
}

#safarious-add-bookmark-popup>div {
    /* background: white url('bg.png') no-repeat center !important; */
    background: rgb(240, 240, 240) !important;
}

#safarious-add-bookmark-popup form {
    padding: 1em 1em !important;
}

#safarious-add-bookmark-popup form .info {
    font-size: 8pt !important;
    color: rgb(0, 72, 255) !important;
}

/*#safarious-add-bookmark-popup aside { float: right; margin-top: -1em; }*/
#safarious-add-bookmark-popup form fieldset {
    padding: 1em !important;
    margin: 0.5em !important;
    border: 1px dashed rgb(128, 128, 128) !important;
    -webkit-border-radius: 5px !important;
}

#safarious-add-bookmark-popup form legend {
    font-family: "Helvetica", "Verdana", "Arial", "san-serif" !important;
    font-weight: 600 !important;
    font-size: 10.5pt !important;
    color: rgb(96, 96, 96) !important;
    background-color: #ffffcc !important;
    margin-left: 1em !important;
    border: none !important;
    -webkit-border-radius: 5px !important;
    padding: 0.2em 0.3em !important;
}

#safarious-add-bookmark-popup form ul li {
    list-style: none outside !important;
}

#safarious-add-bookmark-popup form label {
    font-weight: 600 !important;
    color: rgb(96, 96, 96) !important;
    background-color: #ffffcc !important;
    border: none !important;
    -webkit-border-radius: 3px !important;
    padding: 0.2em 0.3em !important;
}

/* set input and textarea back to their original UA styles */
#safarious-add-bookmark-popup form input {
    border: 2px inset !important;
    padding: 1px !important;
}

#safarious-add-bookmark-popup form input, #safarious-add-bookmark-popup form textarea {
    margin-top: 0.2em !important;
    margin-bottom: 0.5em !important;
}

/* set input and textarea back to their original UA styles */
#safarious-add-bookmark-popup form input[type="checkbox"], #safarious-add-bookmark-popup form input[type="radio"] {
    margin: 3px 0.5ex !important;
}

/* set input and textarea back to their original UA styles */
#safarious-add-bookmark-popup form input[type="button"], #safarious-add-bookmark-popup form input[type="submit"], #safarious-add-bookmark-popup form input[type="reset"], #safarious-add-bookmark-popup form input[type="file"] {
    border: 2px outset buttonface !important;
    color: buttontext !important;
    cursor: default !important;
    text-align: center !important;
    padding: 2px 6px 3px !important;
}

/* set input and textarea back to their original UA styles */
#safarious-add-bookmark-popup form input[type="button"]:active, #safarious-add-bookmark-popup form input[type="submit"]:active, #safarious-add-bookmark-popup form input[type="reset"]:active, #safarious-add-bookmark-popup form input[type="file"]:active {
    border-style: inset !important;
}

/* set input and textarea back to their original UA styles */
#safarious-add-bookmark-popup form textarea {
    display: block !important;
    cursor: auto !important;
    border: 1px solid !important;
    padding: 2px !important;
    resize: auto !important;
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    width: 450px !important;
    /* background-color: transparent !important; */
}

#safarious-add-bookmark-popup form input[type="text"] {
    display: block !important;
    width: 450px !important;
}

#safarious-add-bookmark-popup form input#safarious-oauth-verifier[type="text"] {
    display: inline !important;
    width: 100px !important;
}

#safarious-add-bookmark-popup form a {
    color: blue !important;
    cursor: auto !important;
    text-decoration: underline !important;
}

#safarious-add-bookmark-popup form a:active {
    color: purple !important;
}
